import { HTTP } from '../utils/http.js'

class Login extends HTTP {

    // 微信登录
    decode_get_userinfo(objs) {
        return this.request({
        url: '/login/decode_get_userinfo',
        method: 'POST',
        header: {
        'content-type': 'application/x-www-form-urlencoded'
        },
        data: objs
        })
    }
    
    // 获取今天微信步数(待测试)
    decryptWeChatRunInfo(objs) {
        return this.request({
        url: '/login/decryptWeChatRunInfo',
        method: 'POST',
        header: {
        'content-type': 'application/x-www-form-urlencoded'
        },
        data: objs
        })
    }

}

export { Login }